<?php
function load_lang(){
	
}
function load_setting($moduleid){
	$setting_file='./core/setting/'.$moduleid.'.php';
	$setting=array();
	if(file_exists($setting_file)){
		$setting=include($setting_file);
	}
	return $setting;
}
function save_setting($moduleid,$post){
	$setting_file='./core/setting/'.$moduleid.'.php';
	if($post){
		$str="<?php\r\n";
		$str.='return ';
		$str.=var_export($post,true);
		$str.=';';
		return file_put_contents($setting_file, $str);
	}
	return false;
}
